package com.ant.common.base;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * @author LB
 */
@Data
public class BaseDomain implements Serializable {

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Long createTime;

    /**
     * 创建人
     */
    @TableField(value = "creator")
    @ApiModelProperty(value = "创建人", hidden = true)
    private String creator;

    /**
     * 更新时间
     */
    @TableField(value = "edit_time")
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Long editTime;

    /**
     * 更新人
     */
    @TableField(value = "editor")
    @ApiModelProperty(value = "更新人", hidden = true)
    private String editor;


    public static void main(String[] args) {
        System.out.println(System.currentTimeMillis());
    }
}
